<?php

switch($_GET['act']){
case "album":require("controllers/news/view_album.php");
break;
case "get":require("controllers/news/get.php");
break;
case "list_album":require("controllers/news/list_album.php");
break;

case "category":require("controllers/news/list_category.php");
break;

case "subcategory":
require("controllers/news/list_subcategory.php");
break;


case "type":
	if($_GET['type']=='video'){
	require("controllers/news/list_video.php");
	}
	else{
	require("controllers/news/list_blog.php");
	}
break;

case "view":
require("controllers/news/views.php");
break;



case "viewpage":
require("controllers/news/page.php");
break;

case "list": 
if(isset($_GET['cat'])){
	require("controllers/news/list_news_cat.php");
}else 
	if(isset($_GET['sub'])){
	require("controllers/news/list_news_sub.php");
	}else
	if(isset($_GET['maincat'])){
	require("controllers/news/list_news_main_cat.php");
	}
	else{
	require("controllers/news/list_news.php");
	}
	break;

}

?>